package com.rpcservice.rpc.remoting.transport.netty.codec;

import com.rpcservice.rpc.remoting.constants.RpcConstants;
import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * @ClassName RpcMessageFrameDecoder
 * @Description RPCMessageFrame解析器 不能共享
 **/
public class RpcMessageFrameDecoder extends LengthFieldBasedFrameDecoder {
    public RpcMessageFrameDecoder() {
        super(RpcConstants.MAX_FRAME_LENGTH, 5, 4, -9, 0);
    }
}

